package com.ruoyi.web.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户分享记录对象 user_share_record
 *
 * @author ruoyi
 * @date 2023-01-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserShareRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    /**
     * 文件路径
     */
    @Excel(name = "文件路径")
    private String fileUrl;

    /**
     * 上传类型
     */
    @Excel(name = "上传类型")
    private String type;

    /**
     * 是否发放奖励 0 否 1 是
     */
    private String isReward;

    /**
     * 每日上传次数
     */
    private Integer uploadCount;
}
